package com.hermes.test;

import com.hermes.biz.common.model.result.UserResultDO;
import com.hermes.biz.common.model.user.UserDO;
import com.hermes.biz.manager.user.UserOperateManager;
import com.hermes.common.action.AsynBaseAction;
import com.hermes.common.util.ParameterParserUtil;

public class FeedBack extends AsynBaseAction{
	public UserOperateManager userOperateManager;
		
	public UserDO userDO;
	public String userid="";
	@Override
	public String execute() throws Exception {
        userid=ParameterParserUtil.getParameter("userid");
        UserResultDO resultDO = userOperateManager.getSingleUserByUserId(Long.valueOf(userid));
		userDO = resultDO.getModule();	
		return SUCCESS;
	}

	//getters and setters
	public UserOperateManager getUserOperateManager() {
		return userOperateManager;
	}
	public void setUserOperateManager(UserOperateManager userOperateManager) {
		this.userOperateManager = userOperateManager;
	}
}
